class CreateOperadoras < ActiveRecord::Migration
  def self.up
    create_table :operadoras do |t|
      t.column :nome, :string, :null => false
      t.column :registroans, :integer, :null => false, :limit => 6
      t.column :cnpj , :integer, :null => false
      t.column :codigonaoperadora, :integer , :null => false, :limit => 20
    end
  end

  def self.down
    drop_table :operadoras
  end
end
